<?php
header('Content-Type:text/html;charset=utf-8');
require dirname(__DIR__) .'/src/autoload.php';



$faker = Faker\Factory::create('zh_CN');



for ( $i=0; $i<100; ++$i ) {
    $dat = array(
        'name' => $faker->name,
		'username' => $faker->username,
		'email' => $faker->email,
		'phonenumber' => $faker->phonenumber,
		'address' => $faker->address,
        'city' => $faker->city,
        'streetaddress' => $faker->streetaddress,
        'country' => $faker->country,
        'addtime' => $faker->unixTime,
        'userip' => $faker->ipv4,
    );
   
   var_dump($dat);
}

